<div class="header">
    <div class="header-title">
        <h1><%= $system.name %></h1>
        <h2><%= $system.description %></h2>
    </div>
    
    <div class="header-menu">
        <%= link_to "FAQ", :controller => 'faq' %>
        <%= link_to "Search", :controller => 'search' %>
        <%= link_to "Memberlist", :controller => 'user', :action => 'list' %>
        <%= link_to "Usergroups", :controller => 'group', :action => 'list'%>
        <%= link_to "Register",:controller => 'user', :action => 'signup' if !session[:user] %>
        <%= link_to "Profile", :controller => 'profile' if session[:user] %>
        <%= link_to "Messages", :controller => 'messages' if session[:user] %>
        <%= link_to "Login", :controller => 'user', :action => 'login' if !session[:user] %>
        <%= link_to "Logout", :controller => 'user', :action => 'logout' if session[:user] %>
    </div>
</div>